package com.usian.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CarsVo {
    private static final long serialVersionUID = 1L;

    /**
     * 车辆ID
     */
    @TableId(value = "car_id", type = IdType.AUTO)
    private Integer carId;

    /**
     * 车辆品牌关联品牌ID
     */
    private Integer brandId;

    /**
     * 车辆型号
     */
    private String carModel;

    /**
     * 车辆租借价格
     */
    private BigDecimal pricePerHour;

    /**
     * 车辆当前油量
     */
    private BigDecimal fuelLevel;

    /**
     * 车辆当前位置
     */
    private String locationPoint;

    /**
     * 车辆评价数量
     */
    private BigDecimal rating;

    /**
     * 关联(car_brands)表(brand_id)
     */
    private Integer numReviews;
//    图片路径
    private List<String> imageUrl;

    /**
     * 是否收藏
     */
    private Integer isFavorite;

    private Integer userId;

}
